/**
 * @resource.h
 * This file is part of FEGRF.
 * 
 * FEGRF is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * See LICENSE file in main folder for more information.
 */

#ifndef __RESOURCE_H__
#define __RESOURCE_H__

wxImage CreateImageFromPngResource(const wxString& t_name);
bool LoadDataFromResource(char*& t_data, DWORD& t_dataSize, const wxString& t_name);
wxImage GetImageFromMemory(const char* t_data, const DWORD t_size, wxBitmapType type);

class ToolbarImage
{
public:
	ToolbarImage();
	wxImage png_new;
	wxImage png_open;
	wxImage png_close;
	wxImage png_view;
	wxImage png_repack;
	wxImage png_insert;
	wxImage png_extract;
	wxImage png_delete;
	wxImage png_setting;
};

#endif //__RESOURCE_H__
